const url="https://m.douban.com/rexxar/api/v2/search?q="
Page({
    onLoad(e){
        this.setData({
            ...e
        })
        wx.showLoading({
            title: '正在查询',
          })
          wx.request({
            url: url+this.data.title,
            success:res=>{
                wx.hideLoading({
                  success: (res) => {},
                })
                console.log(res)
                this.setData({
                    result:res.data
                })
            }
          })
    },
    
})